package org.dromara.Nyt7BusinessEntity.mapper;

import org.apache.ibatis.annotations.Update;
import org.dromara.Nyt7BusinessEntity.domain.Nyt7BusinessEntity;
import org.dromara.Nyt7BusinessEntity.domain.vo.Nyt7BusinessEntityVo;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;

import java.util.List;

/**
 * 经营主体Mapper接口
 *
 * @author Lion Li
 * @date 2025-01-08
 */
public interface Nyt7BusinessEntityMapper extends BaseMapperPlus<Nyt7BusinessEntity, Nyt7BusinessEntityVo> {

    @Update("update nyt_7_business_entity set certification_status= '认证驳回' where id = #{id}")
    void removeCertification(Long id);


    void saveBatch(List<Nyt7BusinessEntity> list);
}
